package com.neusoft.bizcore.activiti.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.activiti.dto.ProcessFormItemDTO;
import com.neusoft.bizcore.web.support.Searchable;

public interface ProcessFormItemService {

    List<ProcessFormItemDTO> getFormItemByFormCode(String formCode);

    ProcessFormItemDTO create(ProcessFormItemDTO dto);

    void deleteByFormCode(String code);

    List<ProcessFormItemDTO> index(Searchable searchable);

    Page<ProcessFormItemDTO> search(Pageable pageable, Searchable searchable);
}
